Remove debug_info from compile options
Remove @spec
Use behaviour declaration from R15
Cosmetic changes