Added support for concise methods declaration in objects.

Closes GH-975.
Closes GH-955.