beginning-of-defun-function
should put cursor in column 0 where the definition begins (currently it puts it at the end of line the line before).
end-of-defun-function
should put cursor in column 0 after last line of the definition (currently it can go many empty lines below it).