Follow coding style.
Added transition dependency to AMD definitions.